package com.broadengate.service.impl;


import com.broadengate.dao.AmmountDao;
import com.broadengate.model.Dailyammount;
import com.broadengate.service.AmmountService;

public class AmmountServiceImpl implements AmmountService {
	
	AmmountDao ammountDao;
	
	public void saveAmmount(Dailyammount dailyammount) {
		ammountDao.saveAmmount(dailyammount);
	}

	public void updateAmmount(Dailyammount dailyammount) {
		ammountDao.updateAmmount(dailyammount);
	}
	
	public Dailyammount findDailyammount(String cardNO){
		return ammountDao.findDailyammount(cardNO);
	}
	
	public AmmountDao getAmmountDao() {
		return ammountDao;
	}

	public void setAmmountDao(AmmountDao ammountDao) {
		this.ammountDao = ammountDao;
	}
}
